import React from 'react'
import { NavBar,Button } from 'antd-mobile';
import { useNavigate } from 'react-router-dom';

export default function Authentication() {
    let navigate = useNavigate()
    return (
        <div>
            <NavBar onBack={() => { navigate(-1) }}>身份认证</NavBar>
            <div>
                <div style={{textAlign:"center",margin:"20px"}}>
                    <img src="https://cdn7.axureshop.com/demo2024/2268035/images/%E8%BA%AB%E4%BB%BD%E5%B7%B2%E8%AE%A4%E8%AF%81/u1694.svg" alt="" />
                    <h2 style={{padding:"20px"}}>恭喜已认证成功</h2>
                    <Button style={{ width: "80vw", margin: "20px" }} onClick={() => { navigate(-1) }} color='success'>返回</Button>
                </div>
            </div>
        </div>
    )
}